Imports System
Imports System.ComponentModel.DataAnnotations
Imports System.ComponentModel.DataAnnotations.Schema
Imports System.Data.Entity

<Table("<TableU>", Schema:="<OwnerU>")>
Public Class <OwnerU>_<TableU>

    <If Loop>
      <IsPKey>
    <Key>
    <Column(Order:=<iVarA>)>
      <iVarA=+[1]>
      <IsNotNull>
    <Required>
      <IsDateTimePicker>
    <DataType(DataType.[Date])>
    <DisplayFormat(DataFormatString:="{0:yyyy-MM-dd}", ApplyFormatInEditMode:=True)>
      <IsMoney>
    <DataType(DataType.Currency)>
      <IsChar>
    <StringLength(<Length>)>
      <IsNChar>
    <StringLength(<Length>)>
      <IsVarChar>
    <StringLength(<Length>)>
      <IsNVarChar>
    <StringLength(<Length>)>
      <IsNullable>
      <And>
      <IsNull>
    <Display(Name:="<FieldC>")>
    Public Property <FieldU>() As Nullable(Of <VBType>)

      <IsNullable>
      <And>
      <IsNotNull>
    <Display(Name:="<FieldC>")>
    Public Property <FieldU>() As <VBType>

      <IsNotNullable>
    <Display(Name:="<FieldC>")>
    Public Property <FieldU>() As <VBType>

    </If Loop>
End Class
